/****************************************************************************
 * FILE NAME: 		gpio.c
 * 
 * PROJECT NAME: 	EGR330_Project
 * TEAM MEMBERS: 	Kevin Vermeer
 * 					Brandon Ross
 *					Tyler Selk
 *
 *
 * CREATED: 		1 August 2011 (Brandon Ross)
 * LAST MODIFIED: 	
 * 
 * DESCRIPTION:		Handles GPIO
 ****************************************************************************/

#include <avr/io.h>
#include <inttypes.h>

#include "generic.h"
#include "hw_profile.h"
#include "gpio.h"

void turnOnLED(uint8_t LEDX)
{
	PORTB = setBit(PORTB,LEDX);
}

void turnOffLED(uint8_t LEDX)
{
	PORTB = clearBit(PORTB,LEDX);
}

void toggleLED(uint8_t LEDX)
{
	PORTB = toggleBit(PORTB, LEDX);
}
